package eop.project


class Damage {
	int numberOfDeaths
	float damages
	int injuries
	int houses
	static belongsTo=Eruption 
    static constraints = {
		numberOfDeaths(nullable:true)
		injuries(nullable:true)
		damages(nullable:true)
		houses(nullable:true)
		
    }
	public String toString(){
		return "Deaths: $numberOfDeaths, Damages: $damages Mil USD"
	}
}
